#ifndef WIDGET_NODE_ANIMATION_H
#define WIDGET_NODE_ANIMATION_H

#include <QWidget>
#include <QListWidgetItem>

namespace Ui {
class WidgetNodeAnimation;
}

class WidgetNodeAnimation : public QWidget
{
    Q_OBJECT

public:
    explicit WidgetNodeAnimation(QWidget *parent = nullptr);
    ~WidgetNodeAnimation();

public slots:
    void setupNode(const QString& name);

private slots:
    void on_listWidgetAnimation_itemDoubleClicked(QListWidgetItem *item);

    void on_pushButtonStop_clicked();

private:
    static int handleJointNames(int count, const char** nameList, void* form);
    static int handleAnimationNames(int count, const char** nameList, void* form);

private:
    Ui::WidgetNodeAnimation *ui;
};

#endif // WIDGET_NODE_ANIMATION_H
